package wangjg.test;

import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class H264 {
	String src = "E:\\video\\butterfly.h264";
	String dest = "E:\\video\\butterfly2.h264";
	private void test() throws IOException {
		File srcFile = new File(src);
		FileInputStream srcFis = new FileInputStream(srcFile);
		DataInputStream srcDis = new DataInputStream(srcFis);
		FileOutputStream destFis = new FileOutputStream(dest);

		System.out.println(""+srcDis.readInt());
		srcFis.close();
	}
	
	public static void main(String[] args) throws Exception {
		H264 h264 = new H264();
		h264.test();
	}

}
